import * as React from 'react';

export default function userLoginMsg(item) {
  const userphone = item && item.userphone || sessionStorage.getItem('userphone');
  const [userLoginGlo, setUserLoginGlo] = React.useState({
    isLogin: !!userphone,
    userphone: userphone,
  });
  // Load any resources or data that we need prior to rendering the app
  React.useEffect(() => {
  }, []);

  return userLoginGlo;
}
